package com.dnake.entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

/**
 * @author haoyuliu
 * @since 2019/1/15
 */
@Entity
public class UserBean {

    /**
     * effectiveType : 0
     * effectiveEndTime : 0
     * id : 4391
     * type : 1   //增删改查
     * userId : 58449
     * url : http://weker-cloudradio.oss-cn-hangzhou.aliyuncs.com/upload/5ed5ef112de84be3928f4e4c0c639388.jpeg
     */

    private String effectiveType;
    private String effectiveEndTime;
    private String id;
    private String type;   //增删改查

    @Id
    private Long userId;
    private String url;
    @Generated(hash = 672501253)
    public UserBean(String effectiveType, String effectiveEndTime, String id, String type, Long userId,
            String url) {
        this.effectiveType = effectiveType;
        this.effectiveEndTime = effectiveEndTime;
        this.id = id;
        this.type = type;
        this.userId = userId;
        this.url = url;
    }

    @Override
    public String toString() {
        return "UserBean{" +
                "effectiveType='" + effectiveType + '\'' +
                ", effectiveEndTime='" + effectiveEndTime + '\'' +
                ", id='" + id + '\'' +
                ", type='" + type + '\'' +
                ", userId=" + userId +
                ", url='" + url + '\'' +
                '}';
    }

    @Generated(hash = 1203313951)
    public UserBean() {
    }

    public String getEffectiveType() {
        return this.effectiveType;
    }
    public void setEffectiveType(String effectiveType) {
        this.effectiveType = effectiveType;
    }
    public String getEffectiveEndTime() {
        return this.effectiveEndTime;
    }

    public void setEffectiveEndTime(String effectiveEndTime) {
        this.effectiveEndTime = effectiveEndTime;
    }

    public String getId() {
        return this.id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getType() {
        return this.type;
    }
    public void setType(String type) {
        this.type = type;
    }
    public Long getUserId() {
        return this.userId;
    }
    public void setUserId(Long userId) {
        this.userId = userId;
    }
    public String getUrl() {
        return this.url;
    }
    public void setUrl(String url) {
        this.url = url;
    }

}
